package com.liuchong.rent.service;

import com.liuchong.rent.entity.Rent;
import com.liuchong.rent.mapper.RentMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RentService {
    @Autowired
    private RentMapper rentMapper;

    public List<Rent> getRentInfo(String card_id) {
        return rentMapper.getRentInfo(card_id);
    }
}
